/*
*Launcher.fx
*
*Created on Apr 5, 2011, 01:38:50 AM
*/

package mythesis.controller;
import javax.tools.*;
import java.io.*;
import java.util.*;
import java.lang.*;

public class Launcher {
};

public function startGame():Void
{
    var p:Process = Runtime.getRuntime().exec("compiletest.cmd");
    p.waitFor();
    var result:Integer = (p.exitValue());
    if (result == 0){	println("Successful launch."); }
    else           {	println("Launch fail."); }
}
